package com.hly.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hly.common.utils.PageUtils;
import com.hly.product.entity.SpuInfoEntity;
import com.hly.product.vo.EditableTabs;
import com.hly.product.vo.SpuSaveVo;

import java.util.List;
import java.util.Map;

/**
 * spu信息
 *
 * @author dudulu
 * @email 52039@Miku.com
 * @date 2021-03-27 12:08:09
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<SpuInfoEntity> getCatalogId();

    List<EditableTabs> editableTabsBySpuId(Long id);

    void saveSpuInfo(SpuSaveVo spuSaveVo);

    void up(Long spuId);

    void updateSpuStatus(Long spuId, int code);
}

